package com.jsy.common.util.bytecode;

import javax.management.*;
import java.lang.management.ClassLoadingMXBean;
import java.lang.management.ManagementFactory;
import java.util.Set;
 
public class ListLoadedClassesUsingJMX {
    public static void main(String[] args) throws Exception {
//        Class[] loadedClasses = ClassLoggerAgent.getInstrumentation().getAllLoadedClasses();
//        for (Class<?> clazz : loadedClasses) {
//            System.out.println(clazz.getName());
//        }
    }
}